import request from '@/utils/request'

/*          bidco·代拍          */
export function getBidcoCurr (id) {
  return request({
    url: '/aucing/getBidcoCurr',
    method: 'get',
    params: { id }
  })
}

export function postCoBid (data) {
  return request({
    url: '/aucing/postCoBid',
    method: 'post',
    data
  })
}
/*          bidco end         */

/*          ctrl·控制台           */
export function setGoodsState (data) {
  return request({
    url: '/aucing/setGoodsState',
    method: 'post',
    data
  })
}

export function postLiveBid (data) {
  return request({
    url: '/aucing/postLiveBid',
    method: 'post',
    data
  })
}

export function setLivePush (data) {
  return request({
    url: '/aucing/setLivePush',
    method: 'post',
    data
  })
}

export function revokeBid (data) {
  return request({
    url: '/aucing/revokeBid',
    method: 'post',
    data
  })
}

export function setLiveNum (data) {
  return request({
    url: '/aucing/setLiveNum',
    method: 'post',
    data
  })
}

export function getScreenData (id) {
  return request({
    url: '/aucing/getScreenData',
    method: 'get',
    params: { id }
  })
}
/*          ctrl end         */

/*          ctrlbid·网络出价控制台           */
export function getCtrlCurr (id) {
  return request({
    url: '/aucing/getCtrlCurr',
    method: 'get',
    params: { id }
  })
}

export function passNetBid (data) {
  return request({
    url: '/aucing/passNetBid',
    method: 'post',
    data
  })
}
/*       ctrlbid  end         */
